Xbasic
:= (Assignment Operator)
Syntax
Variable := Value
Arguments
- Variable
The name of a variable.
- Value
The value to assign to the variable.
Description
The := operator assigns a value to a variable. It can be distinguished from the = operator, which can be used to test equality.
Example
dim x as N x = 2 ? eval("x:=3") = 3 ? eval("x=3") = .T.
See Also